package ast;

import visitor.*;

public class RefVar extends AbstractExpresion
{
	public RefVar(String nombre, Declaracion variable){
		this.nombre = nombre;
		this.variable = variable;
	}
	public RefVar(Object nombre, Object variable){
		this.nombre = (String)nombre;
		this.variable = (Declaracion)variable;
	}


	public Object accept(Visitor v, Object param) { 
		return v.visit(this, param);
	}

	public String nombre;
	public Declaracion variable;
}
